cmake_minimum_required(VERSION 3.26)
project(compiler)

set(CMAKE_CXX_STANDARD 14)

include_directories(experiment1)
include_directories(experiment2)
include_directories(experiment3)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR})

add_executable(compiler
        experiment1/id.cpp
        experiment1/key.cpp
        experiment1/getSym.cpp
        experiment1/num.cpp
        experiment1/opt.cpp
        experiment1/sym.cpp
        experiment1/sym.h
        main.cpp
        experiment2/BLOCK.cpp
        experiment2/BLOCK.h
        experiment2/MyException.cpp
        experiment2/MyException.h
        experiment2/TABLE.cpp
        experiment2/TABLE.h
        experiment2/CodeTable.cpp
        experiment2/CodeTable.h
        experiment3/Memory.cpp
        experiment3/Memory.h
        experiment3/Runner.cpp
        experiment3/Runner.h
)
